std::basic_istream::putback

From Cppreference

Jump to: navigation, search
​basic_istream& putback( char_type ch );

Puts the character ch back to the input stream so the next extracted character will be ch.

Contents

Parameters

(none)

Return value

*this​

Example

See also

unget
unextracts a character
(public member function)
peek
reads the next character without extracting it
(public member function)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox
In other languages